/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import "constants.less";

:global { // DX-11429 TODO reafactor component to use css modules instead fo global classes
  .explore-header {
    flex-shrink: 0;
    display: flex;

    background: #1e2836;
    background: linear-gradient(270deg, #1e2836 0%, #2a394a 100%);
    height: @mainheaderheight*1px;

    .search-item {
      margin: 4px;
      width: 326px;

      input::placeholder {
        font-style: italic;
      }
    }

    .header-wrap {
      display: flex;
      width: 100%;
      justify-content: space-between;

      .left-part {
        display: flex;

        icon-type {
          margin-right: 5px;
        }
      }

    .left-part {
      .icon-type {
        margin-right: 5px;
      }

      .projectList {
        display: flex;
      }
    }

    .right-part {
      display: flex;
    }

    .dremio {
      display: flex;
      align-items: center;
      cursor: pointer;
    }

    .logo {
      width: 75px;
      display: flex;
      align-items: center;
      padding-bottom: 1px;
      color: #fff;
      cursor: pointer;
      font-size: 20px;
    }

    .headerLinkContent {
      display: flex;
      position: relative;
      margin-top: 3px;
      color: #77818f;


      .text {
        display: inline-block;
        font-size: 13px;
        margin-top: 1px;
      }

      &:hover {
        .icon-type {
          color: #41b4c4;
          ;
        }
      }
    }

    }

    .right-part {
      .headerLinkContent {
        .font-icon {
          .icon-type {
            width: 16px;
            height: 16px;
            margin-right: 0;
          }
        }
      }

      .linkIcon {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
      }

      .headerSeparator {
        width: 1px;
        height: 24px;
        background-color: #4c5b6c;
        margin: 10px 15px;
      }
    }

    .icon-type {
      &.active {
        color: #41b4c4 !important;
      }

      &:hover {
        color: #41b4c4;
      }

      font-size: 17px;
      color: #77818f;
    }

    .datasetsIcon {
      font-size: 15px;
      margin-top: 1px;
    }

    .tutorialsIcon {
      margin-top: 1px;
    }

    .helpIcon {
      margin-top: 4px;
    }

    .adminSettingsIcon {
      margin-top: -1px;
      margin-right: 5px;
      font-size: 18px;

      &:hover {
        color: #41b4c4 !important;
      }


    }

    .adminSettingsDropdownIcon {
      margin-right: 5px;

      &:hover {
        color: #41b4c4 !important;
      }
    }

    .adminSettingDropdown {
      color: #77818f;

      &:hover {
        color: #41b4c4 !important;
      }

      &.active {
        color: #41b4c4;
      }
    }
  }
}
